from django.contrib.auth.forms import AuthenticationForm, UserCreationForm
from django.forms import widgets
from django import forms


class LoginForm(AuthenticationForm):
    def __init__(self, *args, **kwargs):
        super(LoginForm, self).__init__(*args, **kwargs)
        self.fields['username'].widget = widgets.TextInput(attrs={'placeholder': 'username', 'class': 'form-control'})
        self.fields['password'].widget = widgets.PasswordInput(attrs={'placeholder': 'password', 'class': 'form-control'})


class VblogUserCreationForm(forms.ModelForm):
    pass
